package com.ruoyi.university.domain;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 校区对象 university_campus
 *
 * @author atzx
 * @date 2024-04-14
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class UniversityCampusVo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long campusId;

    /** 校区名称 */
    @Excel(name = "校区名称")
    private String campusName;
    /** 所属大学ID  */
    @Excel(name = "所属大学ID")
    private Long universityId;

    /** 所属大学 */
    @Excel(name = "所属大学")
    private String university;

    /** 描述信息 */
    @Excel(name = "描述信息")
    private String description;

    /** 添加时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "添加时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dateAdded;

}
